package cn.yr.clock.controller;


import cn.yr.clock.handler.MpHandler;
import cn.yr.common.exception.ret.Ret;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("mp")
public class MpController {

    @Autowired
    private MpHandler mpHandler;

    @RequestMapping("test")
    public Ret<Object> test(){
        mpHandler.addMenu();
        return Ret.success();
    }

}
